package com.cskaoyan.bean;

/**
 * 委托类
 * @author stone
 * @date 2021/12/24 10:29
 */
public class JingTian implements JingTianInterface{

    public void buyBreakFast() {
        System.out.println("一碗热干面");
    }

    public void buyLunch() {
        System.out.println("一碗卤肉饭");
    }
    public void buySupper() {
        System.out.println("一碗饺子");
    }

    @Override
    public void buyFood(String food) {
        System.out.println("买了" + food);
    }

    @Override
    public void buyDoubleFood(String food1, String food2) {
        System.out.println("买了" + food1 + "和" + food2);
    }
}
